package com.peanut.huibutie.entity;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author : feng
 * @date : 2024/5/20 10:05
 */
@Data
@ToString(callSuper = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class LoginVO implements Serializable {
    //企业ID
    @NotBlank(message = "企业ID不能为空")
    private String entId;
    //应用ID
    @NotBlank(message = "应用ID不能为空")
    private String appId;
    //openId 用户唯一标识
    @NotBlank(message = "openId不能为空")
    private String openId;
    //员工名称
//    @NotBlank(message = "员工名称不能为空")
    private String employeeName;
    //手机号
//    @NotBlank(message = "手机号不能为空")
    private String mobile;
    //时间戳
    @NotBlank(message = "时间戳不能为空")
    private String timestamp;
    //签名
    @NotBlank(message = "签名不能为空")
    private String sign;
}
